package com.htu.dao;

import com.htu.domain.Cart;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ICartDao
{
    List<Cart> queryCartById(int id);

    boolean doUpdateCart(int id,String name,int count);

    boolean doCartDelete(int id, String name);

    boolean doCartInsert(Cart cart);
}
